class MidPlatformUser:

	def show(self,config):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.ShowApiBuilder().config(config).build()
		self.driver.send_command(api_cmd)

	def showPopView(self,url,configUIJson):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.ShowPopViewApiBuilder().url(url).configUIJson(configUIJson).build()
		self.driver.send_command(api_cmd)

	def closePopView(self):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.ClosePopViewApiBuilder().build()
		self.driver.send_command(api_cmd)

	def observeBroadcastData(self,owner,observer):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.ObserveBroadcastDataApiBuilder().owner(owner).observer(observer).build()
		self.driver.send_command(api_cmd)

	def removeObserver(self,observer):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.RemoveObserverApiBuilder().observer(observer).build()
		self.driver.send_command(api_cmd)

	def loadJavascript(self,js):
		import apis.ActivityBarApi_builder
		api_cmd = apis.ActivityBarApi_builder.LoadJavascriptApiBuilder().js(js).build()
		self.driver.send_command(api_cmd)

	def initAdminView(self,viewResId):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.InitAdminViewApiBuilder().viewResId(viewResId).build()
		self.driver.send_command(api_cmd)

	def isAdministor(self,targetUid,topSid):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.IsAdministorApiBuilder().targetUid(targetUid).topSid(topSid).build()
		self.driver.send_command(api_cmd)

	def isChatDisableUser(self,targetUid,topSid,callback):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.IsChatDisableUserApiBuilder().targetUid(targetUid).topSid(topSid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def blockUserSpeaker(self,targetUid,op,callback):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.BlockUserSpeakerApiBuilder().targetUid(targetUid).op(op).callback(callback).build()
		self.driver.send_command(api_cmd)

	def kickOutUser(self,targetUid,seconds,callback):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.KickOutUserApiBuilder().targetUid(targetUid).seconds(seconds).callback(callback).build()
		self.driver.send_command(api_cmd)

	def addUserKickOutCallback(self,callback):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.AddUserKickOutCallbackApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def removeUserKickOutCallback(self):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.RemoveUserKickOutCallbackApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getUserKickOutCallback(self):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.GetUserKickOutCallbackApiBuilder().build()
		self.driver.send_command(api_cmd)

	def editChannelManager(self,sid,targetUid,op,channelRole,callback):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.EditChannelManagerApiBuilder().sid(sid).targetUid(targetUid).op(op).channelRole(channelRole).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getChannelRole(self,sid,uid):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.GetChannelRoleApiBuilder().sid(sid).uid(uid).build()
		self.driver.send_command(api_cmd)

	def transferChannelManager(self,sid,uid):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.TransferChannelManagerApiBuilder().sid(sid).uid(uid).build()
		self.driver.send_command(api_cmd)

	def observeChannelManager(self):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.ObserveChannelManagerApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getSelfChannelRole(self):
		import apis.AdminApi_builder
		api_cmd = apis.AdminApi_builder.GetSelfChannelRoleApiBuilder().build()
		self.driver.send_command(api_cmd)

	def inviteUserToChannelReq(self,anchorUid,sid,toUids,extend,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.InviteUserToChannelReqApiBuilder().anchorUid(anchorUid).sid(sid).toUids(toUids).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getRoomNotice(self,uid,sid,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.GetRoomNoticeApiBuilder().uid(uid).sid(sid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def setRoomNotice(self,uid,sid,content,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.SetRoomNoticeApiBuilder().uid(uid).sid(sid).content(content).callback(callback).build()
		self.driver.send_command(api_cmd)

	def editChannelPassword(self,topSid,password,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.EditChannelPasswordApiBuilder().topSid(topSid).password(password).callback(callback).build()
		self.driver.send_command(api_cmd)

	def leaveChatRoom(self,mUid,topSid,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.LeaveChatRoomApiBuilder().mUid(mUid).topSid(topSid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def joinChatRoom(self,myUid,topSid,callback):
		import apis.ChannelApi_builder
		api_cmd = apis.ChannelApi_builder.JoinChatRoomApiBuilder().myUid(myUid).topSid(topSid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def sendMessage(self,messageType,uid,userName,message,props,callback):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.SendMessageApiBuilder().messageType(messageType).uid(uid).userName(userName).message(message).props(props).callback(callback).build()
		self.driver.send_command(api_cmd)

	def sendMessageToSelf(self,messageType,uid,message,props,data,callback):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.SendMessageToSelfApiBuilder().messageType(messageType).uid(uid).message(message).props(props).data(data).callback(callback).build()
		self.driver.send_command(api_cmd)

	def observerChatMessageForever(self,observer):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.ObserverChatMessageForeverApiBuilder().observer(observer).build()
		self.driver.send_command(api_cmd)

	def removeObserver(self,observer):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.RemoveObserverApiBuilder().observer(observer).build()
		self.driver.send_command(api_cmd)

	def getLastCount(self):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.GetLastCountApiBuilder().build()
		self.driver.send_command(api_cmd)

	def addUserChatDisableCallback(self,callback):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.AddUserChatDisableCallbackApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def removeUserChatDisableCallback(self):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.RemoveUserChatDisableCallbackApiBuilder().build()
		self.driver.send_command(api_cmd)

	def addMessageReceiveListener(self,callback):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.AddMessageReceiveListenerApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def removeMessageRecieveListener(self):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.RemoveMessageRecieveListenerApiBuilder().build()
		self.driver.send_command(api_cmd)

	def addSensitiveWordsCallback(self,callback):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.AddSensitiveWordsCallbackApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def removeSensitiveWordsCallback(self):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.RemoveSensitiveWordsCallbackApiBuilder().build()
		self.driver.send_command(api_cmd)

	def ignoreEntranceChannelWaterMessage(self,ignore):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.IgnoreEntranceChannelWaterMessageApiBuilder().ignore(ignore).build()
		self.driver.send_command(api_cmd)

	def fetchRoamingMessages(self,limit):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.FetchRoamingMessagesApiBuilder().limit(limit).build()
		self.driver.send_command(api_cmd)

	def clearChatMessages(self):
		import apis.ChatRoomApi_builder
		api_cmd = apis.ChatRoomApi_builder.ClearChatMessagesApiBuilder().build()
		self.driver.send_command(api_cmd)

	def startPreview(self,viewGroup):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StartPreviewApiBuilder().viewGroup(viewGroup).build()
		self.driver.send_command(api_cmd)

	def stopPreview(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopPreviewApiBuilder().build()
		self.driver.send_command(api_cmd)

	def setPreviewZOrderOnTop(self,onTop):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.SetPreviewZOrderOnTopApiBuilder().onTop(onTop).build()
		self.driver.send_command(api_cmd)

	def switchLocalVideoContainer(self,viewGroup):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.SwitchLocalVideoContainerApiBuilder().viewGroup(viewGroup).build()
		self.driver.send_command(api_cmd)

	def uploadCoverUrl(self,imagePath,callback):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.UploadCoverUrlApiBuilder().imagePath(imagePath).callback(callback).build()
		self.driver.send_command(api_cmd)

	def startLive(self,title,coverUrl,extend,liveBzType,callBack,audioSourceType,liveMode):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StartLiveApiBuilder().title(title).coverUrl(coverUrl).extend(extend).liveBzType(liveBzType).callBack(callBack).audioSourceType(audioSourceType).liveMode(liveMode).build()
		self.driver.send_command(api_cmd)

	def startLive(self,startLiveParams):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StartLiveApiBuilder().startLiveParams(startLiveParams).build()
		self.driver.send_command(api_cmd)

	def stopLive(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopLiveApiBuilder().build()
		self.driver.send_command(api_cmd)

	def stopLive(self,callback):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopLiveApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def stopLive(self,extend,callback):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopLiveApiBuilder().extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def stopLive(self,extend,isLeaveMediaRoom,callback):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopLiveApiBuilder().extend(extend).isLeaveMediaRoom(isLeaveMediaRoom).callback(callback).build()
		self.driver.send_command(api_cmd)

	def stopLiveAndStopAudioFilePlayer(self,callback):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.StopLiveAndStopAudioFilePlayerApiBuilder().callback(callback).build()
		self.driver.send_command(api_cmd)

	def switchCamera(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.SwitchCameraApiBuilder().build()
		self.driver.send_command(api_cmd)

	def registerAbsThunderEventListener(self,listener):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.RegisterAbsThunderEventListenerApiBuilder().listener(listener).build()
		self.driver.send_command(api_cmd)

	def unRegisterAbsThunderEventListener(self,listener):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.UnRegisterAbsThunderEventListenerApiBuilder().listener(listener).build()
		self.driver.send_command(api_cmd)

	def unRegisterAllAbsThunderEventListener(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.UnRegisterAllAbsThunderEventListenerApiBuilder().build()
		self.driver.send_command(api_cmd)

	def takeMic(self,isEnable,mediaType):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.TakeMicApiBuilder().isEnable(isEnable).mediaType(mediaType).build()
		self.driver.send_command(api_cmd)

	def enableAudio(self,isEnable):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.EnableAudioApiBuilder().isEnable(isEnable).build()
		self.driver.send_command(api_cmd)

	def getAudioFilePlayer(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.GetAudioFilePlayerApiBuilder().build()
		self.driver.send_command(api_cmd)

	def checkLivePermission(self,liveBzType,callBack):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.CheckLivePermissionApiBuilder().liveBzType(liveBzType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def observeLivePublishQuality(self,startReport,iLivePublishQualityListener):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.ObserveLivePublishQualityApiBuilder().startReport(startReport).iLivePublishQualityListener(iLivePublishQualityListener).build()
		self.driver.send_command(api_cmd)

	def isPushToCDN(self,mediaType,push):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.IsPushToCDNApiBuilder().mediaType(mediaType).push(push).build()
		self.driver.send_command(api_cmd)

	def onDestroy(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.OnDestroyApiBuilder().build()
		self.driver.send_command(api_cmd)

	def changeLiveRoomType(self,liveBzType,callBack):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.ChangeLiveRoomTypeApiBuilder().liveBzType(liveBzType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def changeLiveMediaType(self,mediaType,callBack):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.ChangeLiveMediaTypeApiBuilder().mediaType(mediaType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def switchLiveMode(self,sid,mode,businessType,callBack):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.SwitchLiveModeApiBuilder().sid(sid).mode(mode).businessType(businessType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def editLiveInfo(self,sid,title,uploadCoverUrl,callBack):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.EditLiveInfoApiBuilder().sid(sid).title(title).uploadCoverUrl(uploadCoverUrl).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def destroyBroadcastView(self):
		import apis.IBroadcastComponentApi_builder
		api_cmd = apis.IBroadcastComponentApi_builder.DestroyBroadcastViewApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getInterConnectUserList(self,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.GetInterConnectUserListApiBuilder().callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def sendInviteReq(self,inviteUid,inviteSid,position,businessType,replaceUid,extend,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.SendInviteReqApiBuilder().inviteUid(inviteUid).inviteSid(inviteSid).position(position).businessType(businessType).replaceUid(replaceUid).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def sendInviteReq(self,inviteUid,inviteSid,position,businessType,mediaType,replaceUid,extend,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.SendInviteReqApiBuilder().inviteUid(inviteUid).inviteSid(inviteSid).position(position).businessType(businessType).mediaType(mediaType).replaceUid(replaceUid).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def sendBatchInviteReq(self,inviteUidArray,inviteSid,startPosition,extend,businessType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.SendBatchInviteReqApiBuilder().inviteUidArray(inviteUidArray).inviteSid(inviteSid).startPosition(startPosition).extend(extend).businessType(businessType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def cancelInviteReq(self,inviteUid,inviteSid,businessType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.CancelInviteReqApiBuilder().inviteUid(inviteUid).inviteSid(inviteSid).businessType(businessType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def acceptInviteLiveInterconnectReq(self,replyInviteUserInfo,businessType,position,extend,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.AcceptInviteLiveInterconnectReqApiBuilder().replyInviteUserInfo(replyInviteUserInfo).businessType(businessType).position(position).extend(extend).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def acceptInviteLiveInterconnectReq(self,replyInviteUserInfo,businessType,position,mediaType,extend,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.AcceptInviteLiveInterconnectReqApiBuilder().replyInviteUserInfo(replyInviteUserInfo).businessType(businessType).position(position).mediaType(mediaType).extend(extend).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def refuseInviteLiveInterconnectReq(self,replyInviteUserInfo,businessType,position,isAutoReject,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.RefuseInviteLiveInterconnectReqApiBuilder().replyInviteUserInfo(replyInviteUserInfo).businessType(businessType).position(position).isAutoReject(isAutoReject).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def closeLiveInterconnectReq(self,closeUid,businessType,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.CloseLiveInterconnectReqApiBuilder().closeUid(closeUid).businessType(businessType).callback(callback).build()
		self.driver.send_command(api_cmd)

	def closeLiveInterconnectReq(self,closeUid,businessType,extend,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.CloseLiveInterconnectReqApiBuilder().closeUid(closeUid).businessType(businessType).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def addLinkMicVideo(self,sid,remoteUid,viewContainer,businessType):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.AddLinkMicVideoApiBuilder().sid(sid).remoteUid(remoteUid).viewContainer(viewContainer).businessType(businessType).build()
		self.driver.send_command(api_cmd)

	def switchVideoContainer(self,sid,remoteUid,viewContainer,businessType):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.SwitchVideoContainerApiBuilder().sid(sid).remoteUid(remoteUid).viewContainer(viewContainer).businessType(businessType).build()
		self.driver.send_command(api_cmd)

	def removeVideo(self,sid,remoteUid,businessType):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.RemoveVideoApiBuilder().sid(sid).remoteUid(remoteUid).businessType(businessType).build()
		self.driver.send_command(api_cmd)

	def applyConnectReq(self,anchorUid,businessType,sid,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.ApplyConnectReqApiBuilder().anchorUid(anchorUid).businessType(businessType).sid(sid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def cancelApplyConnectReq(self,anchorUid,businessType,sid,callback):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.CancelApplyConnectReqApiBuilder().anchorUid(anchorUid).businessType(businessType).sid(sid).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getApplyConnectListReq(self,anchorUid,businessType,sid,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.GetApplyConnectListReqApiBuilder().anchorUid(anchorUid).businessType(businessType).sid(sid).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def observeApplyListUpdateEvent(self,owner,observer):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.ObserveApplyListUpdateEventApiBuilder().owner(owner).observer(observer).build()
		self.driver.send_command(api_cmd)

	def takeMic(self,uid,isEnable,businessType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.TakeMicApiBuilder().uid(uid).isEnable(isEnable).businessType(businessType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def takeMic(self,uid,isEnable,businessType,mediaType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.TakeMicApiBuilder().uid(uid).isEnable(isEnable).businessType(businessType).mediaType(mediaType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def opLivePositionReq(self,opUid,opPosition,opObject,opType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.OpLivePositionReqApiBuilder().opUid(opUid).opPosition(opPosition).opObject(opObject).opType(opType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def directLiveInterconnectReq(self,businessType,mediaType,connectTuple,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.DirectLiveInterconnectReqApiBuilder().businessType(businessType).mediaType(mediaType).connectTuple(connectTuple).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def getInviteLiveInterconnectReq(self,inviterUid,liveBzType,callBack):
		import apis.ILinkMicApi_builder
		api_cmd = apis.ILinkMicApi_builder.GetInviteLiveInterconnectReqApiBuilder().inviterUid(inviterUid).liveBzType(liveBzType).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def addLinkMicUnicastListener(self,listener):
		import apis.ILinkMicService_builder
		api_cmd = apis.ILinkMicService_builder.AddLinkMicUnicastListenerApiBuilder().listener(listener).build()
		self.driver.send_command(api_cmd)

	def removeLinkMicUnicastListener(self,listener):
		import apis.ILinkMicService_builder
		api_cmd = apis.ILinkMicService_builder.RemoveLinkMicUnicastListenerApiBuilder().listener(listener).build()
		self.driver.send_command(api_cmd)

	def refuseInviteLiveInterconnectReq(self,sid,replyInviteUserInfo,businessType,position,isAutoReject,callBack):
		import apis.ILinkMicService_builder
		api_cmd = apis.ILinkMicService_builder.RefuseInviteLiveInterconnectReqApiBuilder().sid(sid).replyInviteUserInfo(replyInviteUserInfo).businessType(businessType).position(position).isAutoReject(isAutoReject).callBack(callBack).build()
		self.driver.send_command(api_cmd)

	def initComponent(self,myUid,config,liveRoomBzMode):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.InitComponentApiBuilder().myUid(myUid).config(config).liveRoomBzMode(liveRoomBzMode).build()
		self.driver.send_command(api_cmd)

	def initComponent(self,sid,myUid,componentConfigs,liveRoomBzMode):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.InitComponentApiBuilder().sid(sid).myUid(myUid).componentConfigs(componentConfigs).liveRoomBzMode(liveRoomBzMode).build()
		self.driver.send_command(api_cmd)

	def initComponent(self,sid,myUid,componentConfigs,liveRoomBzMode):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.InitComponentApiBuilder().sid(sid).myUid(myUid).componentConfigs(componentConfigs).liveRoomBzMode(liveRoomBzMode).build()
		self.driver.send_command(api_cmd)

	def initChannelService(self,liveRoomBzMode):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.InitChannelServiceApiBuilder().liveRoomBzMode(liveRoomBzMode).build()
		self.driver.send_command(api_cmd)

	def joinRoom(self,uid,userName,sid,password,token,positionToken,extend,callback):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.JoinRoomApiBuilder().uid(uid).userName(userName).sid(sid).password(password).token(token).positionToken(positionToken).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def joinRoom(self,uid,userName,sid,password,token,positionToken,extend,callback):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.JoinRoomApiBuilder().uid(uid).userName(userName).sid(sid).password(password).token(token).positionToken(positionToken).extend(extend).callback(callback).build()
		self.driver.send_command(api_cmd)

	def leaveRoom(self,uid,sid,extend):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.LeaveRoomApiBuilder().uid(uid).sid(sid).extend(extend).build()
		self.driver.send_command(api_cmd)

	def leaveRoom(self,uid,sid):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.LeaveRoomApiBuilder().uid(uid).sid(sid).build()
		self.driver.send_command(api_cmd)

	def activatingThunderHandle(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.ActivatingThunderHandleApiBuilder().build()
		self.driver.send_command(api_cmd)

	def onRoomStatusEvent(self,event):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.OnRoomStatusEventApiBuilder().event(event).build()
		self.driver.send_command(api_cmd)

	def deInitComponent(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.DeInitComponentApiBuilder().build()
		self.driver.send_command(api_cmd)

	def registerBroadcastByStreamRoomId(self,streamRoomId,callback):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.RegisterBroadcastByStreamRoomIdApiBuilder().streamRoomId(streamRoomId).callback(callback).build()
		self.driver.send_command(api_cmd)

	def destroyAllComponent(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.DestroyAllComponentApiBuilder().build()
		self.driver.send_command(api_cmd)

	def createAllComponent(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.CreateAllComponentApiBuilder().build()
		self.driver.send_command(api_cmd)

	def appOnForeground(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.AppOnForegroundApiBuilder().build()
		self.driver.send_command(api_cmd)

	def appOnBackground(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.AppOnBackgroundApiBuilder().build()
		self.driver.send_command(api_cmd)

	def hasJoinAthRoom(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.HasJoinAthRoomApiBuilder().build()
		self.driver.send_command(api_cmd)

	def hasJoinRoom(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.HasJoinRoomApiBuilder().build()
		self.driver.send_command(api_cmd)

	def hasJoinMediaRoom(self):
		import apis.LiveRoomComponentManager_builder
		api_cmd = apis.LiveRoomComponentManager_builder.HasJoinMediaRoomApiBuilder().build()
		self.driver.send_command(api_cmd)

	def report(self,context,reportedUid,auditType,businessIllegalType,listener,ext):
		import apis.ReportApi_builder
		api_cmd = apis.ReportApi_builder.ReportApiBuilder().context(context).reportedUid(reportedUid).auditType(auditType).businessIllegalType(businessIllegalType).listener(listener).ext(ext).build()
		self.driver.send_command(api_cmd)

	def updateLiveRoomInfoRespV2(self,streamRoomId):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.UpdateLiveRoomInfoRespV2ApiBuilder().streamRoomId(streamRoomId).build()
		self.driver.send_command(api_cmd)

	def getLiveRoomInfoRespV2(self):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.GetLiveRoomInfoRespV2ApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getLiveRoomInfoRespV2(self,streamRoomId,callback):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.GetLiveRoomInfoRespV2ApiBuilder().streamRoomId(streamRoomId).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getLiveRoomInfoRespV1(self,uid,liveBzType,callback):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.GetLiveRoomInfoRespV1ApiBuilder().uid(uid).liveBzType(liveBzType).callback(callback).build()
		self.driver.send_command(api_cmd)

	def addRoomInfoV2Listener(self,roomInfoV2Listener):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.AddRoomInfoV2ListenerApiBuilder().roomInfoV2Listener(roomInfoV2Listener).build()
		self.driver.send_command(api_cmd)

	def removeRoomInfoV2Listener(self,roomInfoV2Listener):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.RemoveRoomInfoV2ListenerApiBuilder().roomInfoV2Listener(roomInfoV2Listener).build()
		self.driver.send_command(api_cmd)

	def batchGetLiveRoomInfoReqV2(self,streamRoomIds,callback):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.BatchGetLiveRoomInfoReqV2ApiBuilder().streamRoomIds(streamRoomIds).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getChannelInfoList(self,channelTypes,roleIds,businessType,callback):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.GetChannelInfoListApiBuilder().channelTypes(channelTypes).roleIds(roleIds).businessType(businessType).callback(callback).build()
		self.driver.send_command(api_cmd)

	def forceNotifyLiveRoomInfo(self,streamRoomId):
		import apis.RoomInfoV2Api_builder
		api_cmd = apis.RoomInfoV2Api_builder.ForceNotifyLiveRoomInfoApiBuilder().streamRoomId(streamRoomId).build()
		self.driver.send_command(api_cmd)

	def addVideo(self,sid,remoteUid,viewContainer,renderMode):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.AddVideoApiBuilder().sid(sid).remoteUid(remoteUid).viewContainer(viewContainer).renderMode(renderMode).build()
		self.driver.send_command(api_cmd)

	def setVideoZOrderOnTop(self,remoteUid,onTop):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.SetVideoZOrderOnTopApiBuilder().remoteUid(remoteUid).onTop(onTop).build()
		self.driver.send_command(api_cmd)

	def switchVideoContainer(self,sid,remoteUid,viewContainer):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.SwitchVideoContainerApiBuilder().sid(sid).remoteUid(remoteUid).viewContainer(viewContainer).build()
		self.driver.send_command(api_cmd)

	def removeVideo(self,sid,remoteUid):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.RemoveVideoApiBuilder().sid(sid).remoteUid(remoteUid).build()
		self.driver.send_command(api_cmd)

	def updateVideoEncoderConfig(self,livePublishPlayType):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.UpdateVideoEncoderConfigApiBuilder().livePublishPlayType(livePublishPlayType).build()
		self.driver.send_command(api_cmd)

	def updateMultiVideoViewLayoutParam(self,videoPositionWrappers,bgPositionWrapper,bgBitmap,viewContainer):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.UpdateMultiVideoViewLayoutParamApiBuilder().videoPositionWrappers(videoPositionWrappers).bgPositionWrapper(bgPositionWrapper).bgBitmap(bgBitmap).viewContainer(viewContainer).build()
		self.driver.send_command(api_cmd)

	def addMultiVideo(self,sid,remoteUid,seatPosition,renderMode):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.AddMultiVideoApiBuilder().sid(sid).remoteUid(remoteUid).seatPosition(seatPosition).renderMode(renderMode).build()
		self.driver.send_command(api_cmd)

	def removeMultiVideo(self,sid,remoteUid,seatPosition):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.RemoveMultiVideoApiBuilder().sid(sid).remoteUid(remoteUid).seatPosition(seatPosition).build()
		self.driver.send_command(api_cmd)

	def destroyView(self):
		import apis.VideoAreaComponentApi_builder
		api_cmd = apis.VideoAreaComponentApi_builder.DestroyViewApiBuilder().build()
		self.driver.send_command(api_cmd)

	def setThunderPlayerView(self,viewGroup,lineStreamInfo):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.SetThunderPlayerViewApiBuilder().viewGroup(viewGroup).lineStreamInfo(lineStreamInfo).build()
		self.driver.send_command(api_cmd)

	def setRoomInfoListener(self,listenerBuilder):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.SetRoomInfoListenerApiBuilder().listenerBuilder(listenerBuilder).build()
		self.driver.send_command(api_cmd)

	def setMicInfoListener(self,micInfoListener):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.SetMicInfoListenerApiBuilder().micInfoListener(micInfoListener).build()
		self.driver.send_command(api_cmd)

	def setLineStreamInfoListener(self,listener):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.SetLineStreamInfoListenerApiBuilder().listener(listener).build()
		self.driver.send_command(api_cmd)

	def getCdnLineStreamInfo(self):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetCdnLineStreamInfoApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getMicInfos(self):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetMicInfosApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getMicInfo(self,position):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetMicInfoApiBuilder().position(position).build()
		self.driver.send_command(api_cmd)

	def getLiveStatusByUid(self,uid):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetLiveStatusByUidApiBuilder().uid(uid).build()
		self.driver.send_command(api_cmd)

	def getLiveRoomInfoV1(self,uid,liveBzType,callback):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetLiveRoomInfoV1ApiBuilder().uid(uid).liveBzType(liveBzType).callback(callback).build()
		self.driver.send_command(api_cmd)

	def getLiveRoomInfo(self):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetLiveRoomInfoApiBuilder().build()
		self.driver.send_command(api_cmd)

	def getChannelInfoList(self,channelTypes,roleIds,businessType,callback):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.GetChannelInfoListApiBuilder().channelTypes(channelTypes).roleIds(roleIds).businessType(businessType).callback(callback).build()
		self.driver.send_command(api_cmd)

	def forceNotifyMicInfos(self):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.ForceNotifyMicInfosApiBuilder().build()
		self.driver.send_command(api_cmd)

	def forceNotifyChannelInfo(self):
		import apis.WatchComponentApi_builder
		api_cmd = apis.WatchComponentApi_builder.ForceNotifyChannelInfoApiBuilder().build()
		self.driver.send_command(api_cmd)

